/*
 * $Id: DispatcherSimulatorImpl.java,v 1.5 2009/07/24 18:27:07 oliver Exp $
 *
 * Copyright (C) 2006 General Electric Company. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of the General
 * Electric Company (GE). You shall not disclose this software and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with GE.
 *
 * GE MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
 * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
 * NON-INFRINGEMENT. GE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
 * AS A RESULT OF USING, MODIFYING, OR DISTRIBUTING THIS SOFTWARE OR ITS
 * DERIVATIVES.
 */

package com.ge.healthcare.autosc.processor.test;

import com.ge.healthcare.autosc.common.ASCLogger;
import com.ge.healthcare.autosc.common.database.pojo.ActTask;

public class DispatcherSimulatorImpl implements DispatcherSimulator {

	private static ActTask task = null;

	public void processTaskInfo(ActTask actTask) {
		task = actTask;
		String methodName = "processTaskInfo";
		System.out.println("Dispatcher Initiated");
		ASCLogger.debug(this.getClass(), methodName, "Received Task: \n"
				+ actTask);
	}

	public static ActTask getActTask() {
		return task;
	}
}
